package com.sky.happygos.event;

import com.sky.happygos.base.Event;
import com.sky.happygos.model.Order;

import java.util.List;

import retrofit2.Response;

/**
 * Created by qqqqqqq on 2017/4/17.
 */

public class ChartOrderDataE extends Event<List<Order>>{

    public int type;

    public ChartOrderDataE(List<Order> data, boolean isSuccess, int type) {
        super(data, isSuccess);
        this.type = type;
    }

    public ChartOrderDataE(Response error, int type){
        super(error);
        this.type = type;
    }

}
